package com.shelpe.services.sinbad.controller;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat.Shape;
import com.shelpe.services.sinbad.controller.LogDto.LogNoteable;

import lombok.Data;

@Data
public class LogDto<T extends LogNoteable> {
	@JsonProperty("updated_time")
	@JsonFormat(shape = Shape.STRING, pattern = "MM-dd HH:mm")
	private String updatedTime;
	private String action;
	@JsonProperty("new_int_val")
	private long newValue;
	private T note;
	private String keyword;
	@JsonProperty("title")
	private String name;

	public static interface LogNoteable {

	}
}
